package com.monsky.power.share;

import java.io.Serializable;

public class ServiceException extends Exception implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 2267066725179816872L;

	private String message ;
	
	public ServiceException(String message) {
		if (message == null){
			this.message = "";
		}else {
			this.message = message;
		}
	}
	
	@Override
	public void printStackTrace() {
		System.out.println(message);
		super.printStackTrace();
	}
	
	
}
